package com.java.service;

import com.java.domain.ActivityUser;
import com.java.domain.event.ActivityUserEvent;
import com.java.util.resp.BaseRespone;
import com.java.util.resp.TableRespone;

public interface UserService {

	BaseRespone login(String account, String password);

	BaseRespone register(String account, String password, Integer roleType, String name, String mobile);
	
	ActivityUserEvent getUserById(String userId);
	
	TableRespone getList(int page, int size);
	
	BaseRespone updateUser(ActivityUser user);
	
	BaseRespone updatePassword(String userId, String password);
	
	BaseRespone availableUser(String userId);
	
	BaseRespone unAvailableUser(String userId);
	
	void delUserForTest(String userAccount);

}
